from django.db import models

# Create your models here.
class Files(models.Model):
    id = models.AutoField(primary_key=True)
    opend_id = models.CharField(max_length=50)
    file_url = models.CharField(max_length=255)
    file_type = models.CharField(max_length=50)
    file_size = models.CharField(max_length=50)
    file_name = models.CharField(max_length=50)
    status = models.IntegerField(default=2)
    create_time = models.IntegerField(default=11)
    create_id = models.IntegerField(default=50)
    update_time = models.IntegerField(default=50)
    update_id = models.CharField(max_length=50)

    class Meta:
        db_table="anchor_files"